3.426 \(\int \frac{(c+a^2 c x^2)^{3/2} \tan ^{-1}(a x)^3}{x^3} \, dx\)

Optimal. Leaf size=919 \[ -\frac{3 a^2 c^2 \sqrt{a^2 x^2+1} \tanh ^{-1}\left (e^{i \tan ^{-1}(a x)}\right ) \tan ^{-1}(a x)^3}{\sqrt{a^2 c x^2+c}}+a^2 c \sqrt{a^2 c x^2+c} \tan ^{-1}(a x)^3-\frac{c \sqrt{a^2 c x^2+c} \tan ^{-1}(a x)^3}{2 x^2}+\frac{6 i a^2 c^2 \sqrt{a^2 x^2+1} \tan ^{-1}\left (e^{i \tan ^{-1}(a x)}\right ) \tan ^{-1}(a x)^2}{\sqrt{a^2 c x^2+c}}+\frac{9 i a^2 c^2 \sqrt{a^2 x^2+1} \text{PolyLog}\left (2,-e^{i \tan ^{-1}(a x)}\right ) \tan ^{-1}(a x)^2}{2 \sqrt{a^2 c x^2+c}}-\frac{9 i a^2 c^2 \sqrt{a^2 x^2+1} \text{PolyLog}\left (2,e^{i \tan ^{-1}(a x)}\right ) \tan ^{-1}(a x)^2}{2 \sqrt{a^2 c x^2+c}}-\frac{3 a c \sqrt{a^2 c x^2+c} \tan ^{-1}(a x)^2}{2 x}-\frac{6 a^2 c^2 \sqrt{a^2 x^2+1} \tanh ^{-1}\left (\frac{\sqrt{i a x+1}}{\sqrt{1-i a x}}\right ) \tan ^{-1}(a x)}{\sqrt{a^2 c x^2+c}}-\frac{6 i a^2 c^2 \sqrt{a^2 x^2+1} \text{PolyLog}\left (2,-i e^{i \tan ^{-1}(a x)}\right ) \tan ^{-1}(a x)}{\sqrt{a^2 c x^2+c}}+\frac{6 i a^2 c^2 \sqrt{a^2 x^2+1} \text{PolyLog}\left (2,i e^{i \tan ^{-1}(a x)}\right ) \tan ^{-1}(a x)}{\sqrt{a^2 c x^2+c}}-\frac{9 a^2 c^2 \sqrt{a^2 x^2+1} \text{PolyLog}\left (3,-e^{i \tan ^{-1}(a x)}\right ) \tan ^{-1}(a x)}{\sqrt{a^2 c x^2+c}}+\frac{9 a^2 c^2 \sqrt{a^2 x^2+1} \text{PolyLog}\left (3,e^{i \tan ^{-1}(a x)}\right ) \tan ^{-1}(a x)}{\sqrt{a^2 c x^2+c}}+\frac{3 i a^2 c^2 \sqrt{a^2 x^2+1} \text{PolyLog}\left (2,-\frac{\sqrt{i a x+1}}{\sqrt{1-i a x}}\right )}{\sqrt{a^2 c x^2+c}}-\frac{3 i a^2 c^2 \sqrt{a^2 x^2+1} \text{PolyLog}\left (2,\frac{\sqrt{i a x+1}}{\sqrt{1-i a x}}\right )}{\sqrt{a^2 c x^2+c}}+\frac{6 a^2 c^2 \sqrt{a^2 x^2+1} \text{PolyLog}\left (3,-i e^{i \tan ^{-1}(a x)}\right )}{\sqrt{a^2 c x^2+c}}-\frac{6 a^2 c^2 \sqrt{a^2 x^2+1} \text{PolyLog}\left (3,i e^{i \tan ^{-1}(a x)}\right )}{\sqrt{a^2 c x^2+c}}-\frac{9 i a^2 c^2 \sqrt{a^2 x^2+1} \text{PolyLog}\left (4,-e^{i \tan ^{-1}(a x)}\right )}{\sqrt{a^2 c x^2+c}}+\frac{9 i a^2 c^2 \sqrt{a^2 x^2+1} \text{PolyLog}\left (4,e^{i \tan ^{-1}(a x)}\right )}{\sqrt{a^2 c x^2+c}} \]

[Out]

(-3*a*c*Sqrt[c + a^2*c*x^2]*ArcTan[a*x]^2)/(2*x) + ((6*I)*a^2*c^2*Sqrt[1 + a^2*x^2]*ArcTan[E^(I*ArcTan[a*x])]*
ArcTan[a*x]^2)/Sqrt[c + a^2*c*x^2] + a^2*c*Sqrt[c + a^2*c*x^2]*ArcTan[a*x]^3 - (c*Sqrt[c + a^2*c*x^2]*ArcTan[a
*x]^3)/(2*x^2) - (3*a^2*c^2*Sqrt[1 + a^2*x^2]*ArcTan[a*x]^3*ArcTanh[E^(I*ArcTan[a*x])])/Sqrt[c + a^2*c*x^2] -
(6*a^2*c^2*Sqrt[1 + a^2*x^2]*ArcTan[a*x]*ArcTanh[Sqrt[1 + I*a*x]/Sqrt[1 - I*a*x]])/Sqrt[c + a^2*c*x^2] + (((9*
I)/2)*a^2*c^2*Sqrt[1 + a^2*x^2]*ArcTan[a*x]^2*PolyLog[2, -E^(I*ArcTan[a*x])])/Sqrt[c + a^2*c*x^2] - ((6*I)*a^2
*c^2*Sqrt[1 + a^2*x^2]*ArcTan[a*x]*PolyLog[2, (-I)*E^(I*ArcTan[a*x])])/Sqrt[c + a^2*c*x^2] + ((6*I)*a^2*c^2*Sq
rt[1 + a^2*x^2]*ArcTan[a*x]*PolyLog[2, I*E^(I*ArcTan[a*x])])/Sqrt[c + a^2*c*x^2] - (((9*I)/2)*a^2*c^2*Sqrt[1 +
 a^2*x^2]*ArcTan[a*x]^2*PolyLog[2, E^(I*ArcTan[a*x])])/Sqrt[c + a^2*c*x^2] + ((3*I)*a^2*c^2*Sqrt[1 + a^2*x^2]*
PolyLog[2, -(Sqrt[1 + I*a*x]/Sqrt[1 - I*a*x])])/Sqrt[c + a^2*c*x^2] - ((3*I)*a^2*c^2*Sqrt[1 + a^2*x^2]*PolyLog
[2, Sqrt[1 + I*a*x]/Sqrt[1 - I*a*x]])/Sqrt[c + a^2*c*x^2] - (9*a^2*c^2*Sqrt[1 + a^2*x^2]*ArcTan[a*x]*PolyLog[3
, -E^(I*ArcTan[a*x])])/Sqrt[c + a^2*c*x^2] + (6*a^2*c^2*Sqrt[1 + a^2*x^2]*PolyLog[3, (-I)*E^(I*ArcTan[a*x])])/
Sqrt[c + a^2*c*x^2] - (6*a^2*c^2*Sqrt[1 + a^2*x^2]*PolyLog[3, I*E^(I*ArcTan[a*x])])/Sqrt[c + a^2*c*x^2] + (9*a
^2*c^2*Sqrt[1 + a^2*x^2]*ArcTan[a*x]*PolyLog[3, E^(I*ArcTan[a*x])])/Sqrt[c + a^2*c*x^2] - ((9*I)*a^2*c^2*Sqrt[
1 + a^2*x^2]*PolyLog[4, -E^(I*ArcTan[a*x])])/Sqrt[c + a^2*c*x^2] + ((9*I)*a^2*c^2*Sqrt[1 + a^2*x^2]*PolyLog[4,
 E^(I*ArcTan[a*x])])/Sqrt[c + a^2*c*x^2]

________________________________________________________________________________________

Rubi [A]  time = 2.01579, antiderivative size = 919, normalized size of antiderivative = 1., number of steps used = 50, number of rules used = 15, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.625, Rules used = {4950, 4962, 4944, 4958, 4954, 4956, 4183, 2531, 6609, 2282, 6589, 4930, 4890, 4888, 4181} \[ -\frac{3 a^2 c^2 \sqrt{a^2 x^2+1} \tanh ^{-1}\left (e^{i \tan ^{-1}(a x)}\right ) \tan ^{-1}(a x)^3}{\sqrt{a^2 c x^2+c}}+a^2 c \sqrt{a^2 c x^2+c} \tan ^{-1}(a x)^3-\frac{c \sqrt{a^2 c x^2+c} \tan ^{-1}(a x)^3}{2 x^2}+\frac{6 i a^2 c^2 \sqrt{a^2 x^2+1} \tan ^{-1}\left (e^{i \tan ^{-1}(a x)}\right ) \tan ^{-1}(a x)^2}{\sqrt{a^2 c x^2+c}}+\frac{9 i a^2 c^2 \sqrt{a^2 x^2+1} \text{PolyLog}\left (2,-e^{i \tan ^{-1}(a x)}\right ) \tan ^{-1}(a x)^2}{2 \sqrt{a^2 c x^2+c}}-\frac{9 i a^2 c^2 \sqrt{a^2 x^2+1} \text{PolyLog}\left (2,e^{i \tan ^{-1}(a x)}\right ) \tan ^{-1}(a x)^2}{2 \sqrt{a^2 c x^2+c}}-\frac{3 a c \sqrt{a^2 c x^2+c} \tan ^{-1}(a x)^2}{2 x}-\frac{6 a^2 c^2 \sqrt{a^2 x^2+1} \tanh ^{-1}\left (\frac{\sqrt{i a x+1}}{\sqrt{1-i a x}}\right ) \tan ^{-1}(a x)}{\sqrt{a^2 c x^2+c}}-\frac{6 i a^2 c^2 \sqrt{a^2 x^2+1} \text{PolyLog}\left (2,-i e^{i \tan ^{-1}(a x)}\right ) \tan ^{-1}(a x)}{\sqrt{a^2 c x^2+c}}+\frac{6 i a^2 c^2 \sqrt{a^2 x^2+1} \text{PolyLog}\left (2,i e^{i \tan ^{-1}(a x)}\right ) \tan ^{-1}(a x)}{\sqrt{a^2 c x^2+c}}-\frac{9 a^2 c^2 \sqrt{a^2 x^2+1} \text{PolyLog}\left (3,-e^{i \tan ^{-1}(a x)}\right ) \tan ^{-1}(a x)}{\sqrt{a^2 c x^2+c}}+\frac{9 a^2 c^2 \sqrt{a^2 x^2+1} \text{PolyLog}\left (3,e^{i \tan ^{-1}(a x)}\right ) \tan ^{-1}(a x)}{\sqrt{a^2 c x^2+c}}+\frac{3 i a^2 c^2 \sqrt{a^2 x^2+1} \text{PolyLog}\left (2,-\frac{\sqrt{i a x+1}}{\sqrt{1-i a x}}\right )}{\sqrt{a^2 c x^2+c}}-\frac{3 i a^2 c^2 \sqrt{a^2 x^2+1} \text{PolyLog}\left (2,\frac{\sqrt{i a x+1}}{\sqrt{1-i a x}}\right )}{\sqrt{a^2 c x^2+c}}+\frac{6 a^2 c^2 \sqrt{a^2 x^2+1} \text{PolyLog}\left (3,-i e^{i \tan ^{-1}(a x)}\right )}{\sqrt{a^2 c x^2+c}}-\frac{6 a^2 c^2 \sqrt{a^2 x^2+1} \text{PolyLog}\left (3,i e^{i \tan ^{-1}(a x)}\right )}{\sqrt{a^2 c x^2+c}}-\frac{9 i a^2 c^2 \sqrt{a^2 x^2+1} \text{PolyLog}\left (4,-e^{i \tan ^{-1}(a x)}\right )}{\sqrt{a^2 c x^2+c}}+\frac{9 i a^2 c^2 \sqrt{a^2 x^2+1} \text{PolyLog}\left (4,e^{i \tan ^{-1}(a x)}\right )}{\sqrt{a^2 c x^2+c}} \]

Antiderivative was successfully verified.

[In]

Int[((c + a^2*c*x^2)^(3/2)*ArcTan[a*x]^3)/x^3,x]

[Out]

(-3*a*c*Sqrt[c + a^2*c*x^2]*ArcTan[a*x]^2)/(2*x) + ((6*I)*a^2*c^2*Sqrt[1 + a^2*x^2]*ArcTan[E^(I*ArcTan[a*x])]*
ArcTan[a*x]^2)/Sqrt[c + a^2*c*x^2] + a^2*c*Sqrt[c + a^2*c*x^2]*ArcTan[a*x]^3 - (c*Sqrt[c + a^2*c*x^2]*ArcTan[a
*x]^3)/(2*x^2) - (3*a^2*c^2*Sqrt[1 + a^2*x^2]*ArcTan[a*x]^3*ArcTanh[E^(I*ArcTan[a*x])])/Sqrt[c + a^2*c*x^2] -
(6*a^2*c^2*Sqrt[1 + a^2*x^2]*ArcTan[a*x]*ArcTanh[Sqrt[1 + I*a*x]/Sqrt[1 - I*a*x]])/Sqrt[c + a^2*c*x^2] + (((9*
I)/2)*a^2*c^2*Sqrt[1 + a^2*x^2]*ArcTan[a*x]^2*PolyLog[2, -E^(I*ArcTan[a*x])])/Sqrt[c + a^2*c*x^2] - ((6*I)*a^2
*c^2*Sqrt[1 + a^2*x^2]*ArcTan[a*x]*PolyLog[2, (-I)*E^(I*ArcTan[a*x])])/Sqrt[c + a^2*c*x^2] + ((6*I)*a^2*c^2*Sq
rt[1 + a^2*x^2]*ArcTan[a*x]*PolyLog[2, I*E^(I*ArcTan[a*x])])/Sqrt[c + a^2*c*x^2] - (((9*I)/2)*a^2*c^2*Sqrt[1 +
 a^2*x^2]*ArcTan[a*x]^2*PolyLog[2, E^(I*ArcTan[a*x])])/Sqrt[c + a^2*c*x^2] + ((3*I)*a^2*c^2*Sqrt[1 + a^2*x^2]*
PolyLog[2, -(Sqrt[1 + I*a*x]/Sqrt[1 - I*a*x])])/Sqrt[c + a^2*c*x^2] - ((3*I)*a^2*c^2*Sqrt[1 + a^2*x^2]*PolyLog
[2, Sqrt[1 + I*a*x]/Sqrt[1 - I*a*x]])/Sqrt[c + a^2*c*x^2] - (9*a^2*c^2*Sqrt[1 + a^2*x^2]*ArcTan[a*x]*PolyLog[3
, -E^(I*ArcTan[a*x])])/Sqrt[c + a^2*c*x^2] + (6*a^2*c^2*Sqrt[1 + a^2*x^2]*PolyLog[3, (-I)*E^(I*ArcTan[a*x])])/
Sqrt[c + a^2*c*x^2] - (6*a^2*c^2*Sqrt[1 + a^2*x^2]*PolyLog[3, I*E^(I*ArcTan[a*x])])/Sqrt[c + a^2*c*x^2] + (9*a
^2*c^2*Sqrt[1 + a^2*x^2]*ArcTan[a*x]*PolyLog[3, E^(I*ArcTan[a*x])])/Sqrt[c + a^2*c*x^2] - ((9*I)*a^2*c^2*Sqrt[
1 + a^2*x^2]*PolyLog[4, -E^(I*ArcTan[a*x])])/Sqrt[c + a^2*c*x^2] + ((9*I)*a^2*c^2*Sqrt[1 + a^2*x^2]*PolyLog[4,
 E^(I*ArcTan[a*x])])/Sqrt[c + a^2*c*x^2]

Rule 4950

Int[((a_.) + ArcTan[(c_.)*(x_)]*(b_.))^(p_.)*((f_.)*(x_))^(m_)*((d_) + (e_.)*(x_)^2)^(q_.), x_Symbol] :> Dist[
d, Int[(f*x)^m*(d + e*x^2)^(q - 1)*(a + b*ArcTan[c*x])^p, x], x] + Dist[(c^2*d)/f^2, Int[(f*x)^(m + 2)*(d + e*
x^2)^(q - 1)*(a + b*ArcTan[c*x])^p, x], x] /; FreeQ[{a, b, c, d, e, f, m}, x] && EqQ[e, c^2*d] && GtQ[q, 0] &&
 IGtQ[p, 0] && (RationalQ[m] || (EqQ[p, 1] && IntegerQ[q]))

Rule 4962

Int[(((a_.) + ArcTan[(c_.)*(x_)]*(b_.))^(p_.)*((f_.)*(x_))^(m_))/Sqrt[(d_) + (e_.)*(x_)^2], x_Symbol] :> Simp[
((f*x)^(m + 1)*Sqrt[d + e*x^2]*(a + b*ArcTan[c*x])^p)/(d*f*(m + 1)), x] + (-Dist[(b*c*p)/(f*(m + 1)), Int[((f*
x)^(m + 1)*(a + b*ArcTan[c*x])^(p - 1))/Sqrt[d + e*x^2], x], x] - Dist[(c^2*(m + 2))/(f^2*(m + 1)), Int[((f*x)
^(m + 2)*(a + b*ArcTan[c*x])^p)/Sqrt[d + e*x^2], x], x]) /; FreeQ[{a, b, c, d, e, f}, x] && EqQ[e, c^2*d] && G
tQ[p, 0] && LtQ[m, -1] && NeQ[m, -2]

Rule 4944

Int[((a_.) + ArcTan[(c_.)*(x_)]*(b_.))^(p_.)*((f_.)*(x_))^(m_.)*((d_) + (e_.)*(x_)^2)^(q_.), x_Symbol] :> Simp
[((f*x)^(m + 1)*(d + e*x^2)^(q + 1)*(a + b*ArcTan[c*x])^p)/(d*f*(m + 1)), x] - Dist[(b*c*p)/(f*(m + 1)), Int[(
f*x)^(m + 1)*(d + e*x^2)^q*(a + b*ArcTan[c*x])^(p - 1), x], x] /; FreeQ[{a, b, c, d, e, f, m, q}, x] && EqQ[e,
 c^2*d] && EqQ[m + 2*q + 3, 0] && GtQ[p, 0] && NeQ[m, -1]

Rule 4958

Int[((a_.) + ArcTan[(c_.)*(x_)]*(b_.))^(p_.)/((x_)*Sqrt[(d_) + (e_.)*(x_)^2]), x_Symbol] :> Dist[Sqrt[1 + c^2*
x^2]/Sqrt[d + e*x^2], Int[(a + b*ArcTan[c*x])^p/(x*Sqrt[1 + c^2*x^2]), x], x] /; FreeQ[{a, b, c, d, e}, x] &&
EqQ[e, c^2*d] && IGtQ[p, 0] &&  !GtQ[d, 0]

Rule 4954

Int[((a_.) + ArcTan[(c_.)*(x_)]*(b_.))/((x_)*Sqrt[(d_) + (e_.)*(x_)^2]), x_Symbol] :> Simp[(-2*(a + b*ArcTan[c
*x])*ArcTanh[Sqrt[1 + I*c*x]/Sqrt[1 - I*c*x]])/Sqrt[d], x] + (Simp[(I*b*PolyLog[2, -(Sqrt[1 + I*c*x]/Sqrt[1 -
I*c*x])])/Sqrt[d], x] - Simp[(I*b*PolyLog[2, Sqrt[1 + I*c*x]/Sqrt[1 - I*c*x]])/Sqrt[d], x]) /; FreeQ[{a, b, c,
 d, e}, x] && EqQ[e, c^2*d] && GtQ[d, 0]

Rule 4956

Int[((a_.) + ArcTan[(c_.)*(x_)]*(b_.))^(p_)/((x_)*Sqrt[(d_) + (e_.)*(x_)^2]), x_Symbol] :> Dist[1/Sqrt[d], Sub
st[Int[(a + b*x)^p*Csc[x], x], x, ArcTan[c*x]], x] /; FreeQ[{a, b, c, d, e}, x] && EqQ[e, c^2*d] && IGtQ[p, 0]
 && GtQ[d, 0]

Rule 4183

Int[csc[(e_.) + (f_.)*(x_)]*((c_.) + (d_.)*(x_))^(m_.), x_Symbol] :> Simp[(-2*(c + d*x)^m*ArcTanh[E^(I*(e + f*
x))])/f, x] + (-Dist[(d*m)/f, Int[(c + d*x)^(m - 1)*Log[1 - E^(I*(e + f*x))], x], x] + Dist[(d*m)/f, Int[(c +
d*x)^(m - 1)*Log[1 + E^(I*(e + f*x))], x], x]) /; FreeQ[{c, d, e, f}, x] && IGtQ[m, 0]

Rule 2531

Int[Log[1 + (e_.)*((F_)^((c_.)*((a_.) + (b_.)*(x_))))^(n_.)]*((f_.) + (g_.)*(x_))^(m_.), x_Symbol] :> -Simp[((
f + g*x)^m*PolyLog[2, -(e*(F^(c*(a + b*x)))^n)])/(b*c*n*Log[F]), x] + Dist[(g*m)/(b*c*n*Log[F]), Int[(f + g*x)
^(m - 1)*PolyLog[2, -(e*(F^(c*(a + b*x)))^n)], x], x] /; FreeQ[{F, a, b, c, e, f, g, n}, x] && GtQ[m, 0]

Rule 6609

Int[((e_.) + (f_.)*(x_))^(m_.)*PolyLog[n_, (d_.)*((F_)^((c_.)*((a_.) + (b_.)*(x_))))^(p_.)], x_Symbol] :> Simp
[((e + f*x)^m*PolyLog[n + 1, d*(F^(c*(a + b*x)))^p])/(b*c*p*Log[F]), x] - Dist[(f*m)/(b*c*p*Log[F]), Int[(e +
f*x)^(m - 1)*PolyLog[n + 1, d*(F^(c*(a + b*x)))^p], x], x] /; FreeQ[{F, a, b, c, d, e, f, n, p}, x] && GtQ[m,
0]

Rule 2282

Int[u_, x_Symbol] :> With[{v = FunctionOfExponential[u, x]}, Dist[v/D[v, x], Subst[Int[FunctionOfExponentialFu
nction[u, x]/x, x], x, v], x]] /; FunctionOfExponentialQ[u, x] &&  !MatchQ[u, (w_)*((a_.)*(v_)^(n_))^(m_) /; F
reeQ[{a, m, n}, x] && IntegerQ[m*n]] &&  !MatchQ[u, E^((c_.)*((a_.) + (b_.)*x))*(F_)[v_] /; FreeQ[{a, b, c}, x
] && InverseFunctionQ[F[x]]]

Rule 6589

Int[PolyLog[n_, (c_.)*((a_.) + (b_.)*(x_))^(p_.)]/((d_.) + (e_.)*(x_)), x_Symbol] :> Simp[PolyLog[n + 1, c*(a
+ b*x)^p]/(e*p), x] /; FreeQ[{a, b, c, d, e, n, p}, x] && EqQ[b*d, a*e]

Rule 4930

Int[((a_.) + ArcTan[(c_.)*(x_)]*(b_.))^(p_.)*(x_)*((d_) + (e_.)*(x_)^2)^(q_.), x_Symbol] :> Simp[((d + e*x^2)^
(q + 1)*(a + b*ArcTan[c*x])^p)/(2*e*(q + 1)), x] - Dist[(b*p)/(2*c*(q + 1)), Int[(d + e*x^2)^q*(a + b*ArcTan[c
*x])^(p - 1), x], x] /; FreeQ[{a, b, c, d, e, q}, x] && EqQ[e, c^2*d] && GtQ[p, 0] && NeQ[q, -1]

Rule 4890

Int[((a_.) + ArcTan[(c_.)*(x_)]*(b_.))^(p_.)/Sqrt[(d_) + (e_.)*(x_)^2], x_Symbol] :> Dist[Sqrt[1 + c^2*x^2]/Sq
rt[d + e*x^2], Int[(a + b*ArcTan[c*x])^p/Sqrt[1 + c^2*x^2], x], x] /; FreeQ[{a, b, c, d, e}, x] && EqQ[e, c^2*
d] && IGtQ[p, 0] &&  !GtQ[d, 0]

Rule 4888

Int[((a_.) + ArcTan[(c_.)*(x_)]*(b_.))^(p_.)/Sqrt[(d_) + (e_.)*(x_)^2], x_Symbol] :> Dist[1/(c*Sqrt[d]), Subst
[Int[(a + b*x)^p*Sec[x], x], x, ArcTan[c*x]], x] /; FreeQ[{a, b, c, d, e}, x] && EqQ[e, c^2*d] && IGtQ[p, 0] &
& GtQ[d, 0]

Rule 4181

Int[csc[(e_.) + Pi*(k_.) + (f_.)*(x_)]*((c_.) + (d_.)*(x_))^(m_.), x_Symbol] :> Simp[(-2*(c + d*x)^m*ArcTanh[E
^(I*k*Pi)*E^(I*(e + f*x))])/f, x] + (-Dist[(d*m)/f, Int[(c + d*x)^(m - 1)*Log[1 - E^(I*k*Pi)*E^(I*(e + f*x))],
 x], x] + Dist[(d*m)/f, Int[(c + d*x)^(m - 1)*Log[1 + E^(I*k*Pi)*E^(I*(e + f*x))], x], x]) /; FreeQ[{c, d, e,
f}, x] && IntegerQ[2*k] && IGtQ[m, 0]

Rubi steps

\begin{align*} \int \frac{\left (c+a^2 c x^2\right )^{3/2} \tan ^{-1}(a x)^3}{x^3} \, dx &=c \int \frac{\sqrt{c+a^2 c x^2} \tan ^{-1}(a x)^3}{x^3} \, dx+\left (a^2 c\right ) \int \frac{\sqrt{c+a^2 c x^2} \tan ^{-1}(a x)^3}{x} \, dx\\ &=c^2 \int \frac{\tan ^{-1}(a x)^3}{x^3 \sqrt{c+a^2 c x^2}} \, dx+2 \left (\left (a^2 c^2\right ) \int \frac{\tan ^{-1}(a x)^3}{x \sqrt{c+a^2 c x^2}} \, dx\right )+\left (a^4 c^2\right ) \int \frac{x \tan ^{-1}(a x)^3}{\sqrt{c+a^2 c x^2}} \, dx\\ &=a^2 c \sqrt{c+a^2 c x^2} \tan ^{-1}(a x)^3-\frac{c \sqrt{c+a^2 c x^2} \tan ^{-1}(a x)^3}{2 x^2}+\frac{1}{2} \left (3 a c^2\right ) \int \frac{\tan ^{-1}(a x)^2}{x^2 \sqrt{c+a^2 c x^2}} \, dx-\frac{1}{2} \left (a^2 c^2\right ) \int \frac{\tan ^{-1}(a x)^3}{x \sqrt{c+a^2 c x^2}} \, dx-\left (3 a^3 c^2\right ) \int \frac{\tan ^{-1}(a x)^2}{\sqrt{c+a^2 c x^2}} \, dx+2 \frac{\left (a^2 c^2 \sqrt{1+a^2 x^2}\right ) \int \frac{\tan ^{-1}(a x)^3}{x \sqrt{1+a^2 x^2}} \, dx}{\sqrt{c+a^2 c x^2}}\\ &=-\frac{3 a c \sqrt{c+a^2 c x^2} \tan ^{-1}(a x)^2}{2 x}+a^2 c \sqrt{c+a^2 c x^2} \tan ^{-1}(a x)^3-\frac{c \sqrt{c+a^2 c x^2} \tan ^{-1}(a x)^3}{2 x^2}+\left (3 a^2 c^2\right ) \int \frac{\tan ^{-1}(a x)}{x \sqrt{c+a^2 c x^2}} \, dx-\frac{\left (a^2 c^2 \sqrt{1+a^2 x^2}\right ) \int \frac{\tan ^{-1}(a x)^3}{x \sqrt{1+a^2 x^2}} \, dx}{2 \sqrt{c+a^2 c x^2}}+2 \frac{\left (a^2 c^2 \sqrt{1+a^2 x^2}\right ) \operatorname{Subst}\left (\int x^3 \csc (x) \, dx,x,\tan ^{-1}(a x)\right )}{\sqrt{c+a^2 c x^2}}-\frac{\left (3 a^3 c^2 \sqrt{1+a^2 x^2}\right ) \int \frac{\tan ^{-1}(a x)^2}{\sqrt{1+a^2 x^2}} \, dx}{\sqrt{c+a^2 c x^2}}\\ &=-\frac{3 a c \sqrt{c+a^2 c x^2} \tan ^{-1}(a x)^2}{2 x}+a^2 c \sqrt{c+a^2 c x^2} \tan ^{-1}(a x)^3-\frac{c \sqrt{c+a^2 c x^2} \tan ^{-1}(a x)^3}{2 x^2}-\frac{\left (a^2 c^2 \sqrt{1+a^2 x^2}\right ) \operatorname{Subst}\left (\int x^3 \csc (x) \, dx,x,\tan ^{-1}(a x)\right )}{2 \sqrt{c+a^2 c x^2}}+\frac{\left (3 a^2 c^2 \sqrt{1+a^2 x^2}\right ) \int \frac{\tan ^{-1}(a x)}{x \sqrt{1+a^2 x^2}} \, dx}{\sqrt{c+a^2 c x^2}}+2 \left (-\frac{2 a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x)^3 \tanh ^{-1}\left (e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}-\frac{\left (3 a^2 c^2 \sqrt{1+a^2 x^2}\right ) \operatorname{Subst}\left (\int x^2 \log \left (1-e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{\sqrt{c+a^2 c x^2}}+\frac{\left (3 a^2 c^2 \sqrt{1+a^2 x^2}\right ) \operatorname{Subst}\left (\int x^2 \log \left (1+e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{\sqrt{c+a^2 c x^2}}\right )-\frac{\left (3 a^2 c^2 \sqrt{1+a^2 x^2}\right ) \operatorname{Subst}\left (\int x^2 \sec (x) \, dx,x,\tan ^{-1}(a x)\right )}{\sqrt{c+a^2 c x^2}}\\ &=-\frac{3 a c \sqrt{c+a^2 c x^2} \tan ^{-1}(a x)^2}{2 x}+\frac{6 i a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}\left (e^{i \tan ^{-1}(a x)}\right ) \tan ^{-1}(a x)^2}{\sqrt{c+a^2 c x^2}}+a^2 c \sqrt{c+a^2 c x^2} \tan ^{-1}(a x)^3-\frac{c \sqrt{c+a^2 c x^2} \tan ^{-1}(a x)^3}{2 x^2}+\frac{a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x)^3 \tanh ^{-1}\left (e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}-\frac{6 a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x) \tanh ^{-1}\left (\frac{\sqrt{1+i a x}}{\sqrt{1-i a x}}\right )}{\sqrt{c+a^2 c x^2}}+\frac{3 i a^2 c^2 \sqrt{1+a^2 x^2} \text{Li}_2\left (-\frac{\sqrt{1+i a x}}{\sqrt{1-i a x}}\right )}{\sqrt{c+a^2 c x^2}}-\frac{3 i a^2 c^2 \sqrt{1+a^2 x^2} \text{Li}_2\left (\frac{\sqrt{1+i a x}}{\sqrt{1-i a x}}\right )}{\sqrt{c+a^2 c x^2}}+2 \left (-\frac{2 a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x)^3 \tanh ^{-1}\left (e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}+\frac{3 i a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x)^2 \text{Li}_2\left (-e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}-\frac{3 i a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x)^2 \text{Li}_2\left (e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}-\frac{\left (6 i a^2 c^2 \sqrt{1+a^2 x^2}\right ) \operatorname{Subst}\left (\int x \text{Li}_2\left (-e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{\sqrt{c+a^2 c x^2}}+\frac{\left (6 i a^2 c^2 \sqrt{1+a^2 x^2}\right ) \operatorname{Subst}\left (\int x \text{Li}_2\left (e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{\sqrt{c+a^2 c x^2}}\right )+\frac{\left (3 a^2 c^2 \sqrt{1+a^2 x^2}\right ) \operatorname{Subst}\left (\int x^2 \log \left (1-e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{2 \sqrt{c+a^2 c x^2}}-\frac{\left (3 a^2 c^2 \sqrt{1+a^2 x^2}\right ) \operatorname{Subst}\left (\int x^2 \log \left (1+e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{2 \sqrt{c+a^2 c x^2}}+\frac{\left (6 a^2 c^2 \sqrt{1+a^2 x^2}\right ) \operatorname{Subst}\left (\int x \log \left (1-i e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{\sqrt{c+a^2 c x^2}}-\frac{\left (6 a^2 c^2 \sqrt{1+a^2 x^2}\right ) \operatorname{Subst}\left (\int x \log \left (1+i e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{\sqrt{c+a^2 c x^2}}\\ &=-\frac{3 a c \sqrt{c+a^2 c x^2} \tan ^{-1}(a x)^2}{2 x}+\frac{6 i a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}\left (e^{i \tan ^{-1}(a x)}\right ) \tan ^{-1}(a x)^2}{\sqrt{c+a^2 c x^2}}+a^2 c \sqrt{c+a^2 c x^2} \tan ^{-1}(a x)^3-\frac{c \sqrt{c+a^2 c x^2} \tan ^{-1}(a x)^3}{2 x^2}+\frac{a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x)^3 \tanh ^{-1}\left (e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}-\frac{6 a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x) \tanh ^{-1}\left (\frac{\sqrt{1+i a x}}{\sqrt{1-i a x}}\right )}{\sqrt{c+a^2 c x^2}}-\frac{3 i a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x)^2 \text{Li}_2\left (-e^{i \tan ^{-1}(a x)}\right )}{2 \sqrt{c+a^2 c x^2}}-\frac{6 i a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x) \text{Li}_2\left (-i e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}+\frac{6 i a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x) \text{Li}_2\left (i e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}+\frac{3 i a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x)^2 \text{Li}_2\left (e^{i \tan ^{-1}(a x)}\right )}{2 \sqrt{c+a^2 c x^2}}+\frac{3 i a^2 c^2 \sqrt{1+a^2 x^2} \text{Li}_2\left (-\frac{\sqrt{1+i a x}}{\sqrt{1-i a x}}\right )}{\sqrt{c+a^2 c x^2}}-\frac{3 i a^2 c^2 \sqrt{1+a^2 x^2} \text{Li}_2\left (\frac{\sqrt{1+i a x}}{\sqrt{1-i a x}}\right )}{\sqrt{c+a^2 c x^2}}+\frac{\left (3 i a^2 c^2 \sqrt{1+a^2 x^2}\right ) \operatorname{Subst}\left (\int x \text{Li}_2\left (-e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{\sqrt{c+a^2 c x^2}}-\frac{\left (3 i a^2 c^2 \sqrt{1+a^2 x^2}\right ) \operatorname{Subst}\left (\int x \text{Li}_2\left (e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{\sqrt{c+a^2 c x^2}}+\frac{\left (6 i a^2 c^2 \sqrt{1+a^2 x^2}\right ) \operatorname{Subst}\left (\int \text{Li}_2\left (-i e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{\sqrt{c+a^2 c x^2}}-\frac{\left (6 i a^2 c^2 \sqrt{1+a^2 x^2}\right ) \operatorname{Subst}\left (\int \text{Li}_2\left (i e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{\sqrt{c+a^2 c x^2}}+2 \left (-\frac{2 a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x)^3 \tanh ^{-1}\left (e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}+\frac{3 i a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x)^2 \text{Li}_2\left (-e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}-\frac{3 i a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x)^2 \text{Li}_2\left (e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}-\frac{6 a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x) \text{Li}_3\left (-e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}+\frac{6 a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x) \text{Li}_3\left (e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}+\frac{\left (6 a^2 c^2 \sqrt{1+a^2 x^2}\right ) \operatorname{Subst}\left (\int \text{Li}_3\left (-e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{\sqrt{c+a^2 c x^2}}-\frac{\left (6 a^2 c^2 \sqrt{1+a^2 x^2}\right ) \operatorname{Subst}\left (\int \text{Li}_3\left (e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{\sqrt{c+a^2 c x^2}}\right )\\ &=-\frac{3 a c \sqrt{c+a^2 c x^2} \tan ^{-1}(a x)^2}{2 x}+\frac{6 i a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}\left (e^{i \tan ^{-1}(a x)}\right ) \tan ^{-1}(a x)^2}{\sqrt{c+a^2 c x^2}}+a^2 c \sqrt{c+a^2 c x^2} \tan ^{-1}(a x)^3-\frac{c \sqrt{c+a^2 c x^2} \tan ^{-1}(a x)^3}{2 x^2}+\frac{a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x)^3 \tanh ^{-1}\left (e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}-\frac{6 a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x) \tanh ^{-1}\left (\frac{\sqrt{1+i a x}}{\sqrt{1-i a x}}\right )}{\sqrt{c+a^2 c x^2}}-\frac{3 i a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x)^2 \text{Li}_2\left (-e^{i \tan ^{-1}(a x)}\right )}{2 \sqrt{c+a^2 c x^2}}-\frac{6 i a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x) \text{Li}_2\left (-i e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}+\frac{6 i a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x) \text{Li}_2\left (i e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}+\frac{3 i a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x)^2 \text{Li}_2\left (e^{i \tan ^{-1}(a x)}\right )}{2 \sqrt{c+a^2 c x^2}}+\frac{3 i a^2 c^2 \sqrt{1+a^2 x^2} \text{Li}_2\left (-\frac{\sqrt{1+i a x}}{\sqrt{1-i a x}}\right )}{\sqrt{c+a^2 c x^2}}-\frac{3 i a^2 c^2 \sqrt{1+a^2 x^2} \text{Li}_2\left (\frac{\sqrt{1+i a x}}{\sqrt{1-i a x}}\right )}{\sqrt{c+a^2 c x^2}}+\frac{3 a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x) \text{Li}_3\left (-e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}-\frac{3 a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x) \text{Li}_3\left (e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}+2 \left (-\frac{2 a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x)^3 \tanh ^{-1}\left (e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}+\frac{3 i a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x)^2 \text{Li}_2\left (-e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}-\frac{3 i a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x)^2 \text{Li}_2\left (e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}-\frac{6 a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x) \text{Li}_3\left (-e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}+\frac{6 a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x) \text{Li}_3\left (e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}-\frac{\left (6 i a^2 c^2 \sqrt{1+a^2 x^2}\right ) \operatorname{Subst}\left (\int \frac{\text{Li}_3(-x)}{x} \, dx,x,e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}+\frac{\left (6 i a^2 c^2 \sqrt{1+a^2 x^2}\right ) \operatorname{Subst}\left (\int \frac{\text{Li}_3(x)}{x} \, dx,x,e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}\right )-\frac{\left (3 a^2 c^2 \sqrt{1+a^2 x^2}\right ) \operatorname{Subst}\left (\int \text{Li}_3\left (-e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{\sqrt{c+a^2 c x^2}}+\frac{\left (3 a^2 c^2 \sqrt{1+a^2 x^2}\right ) \operatorname{Subst}\left (\int \text{Li}_3\left (e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{\sqrt{c+a^2 c x^2}}+\frac{\left (6 a^2 c^2 \sqrt{1+a^2 x^2}\right ) \operatorname{Subst}\left (\int \frac{\text{Li}_2(-i x)}{x} \, dx,x,e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}-\frac{\left (6 a^2 c^2 \sqrt{1+a^2 x^2}\right ) \operatorname{Subst}\left (\int \frac{\text{Li}_2(i x)}{x} \, dx,x,e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}\\ &=-\frac{3 a c \sqrt{c+a^2 c x^2} \tan ^{-1}(a x)^2}{2 x}+\frac{6 i a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}\left (e^{i \tan ^{-1}(a x)}\right ) \tan ^{-1}(a x)^2}{\sqrt{c+a^2 c x^2}}+a^2 c \sqrt{c+a^2 c x^2} \tan ^{-1}(a x)^3-\frac{c \sqrt{c+a^2 c x^2} \tan ^{-1}(a x)^3}{2 x^2}+\frac{a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x)^3 \tanh ^{-1}\left (e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}-\frac{6 a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x) \tanh ^{-1}\left (\frac{\sqrt{1+i a x}}{\sqrt{1-i a x}}\right )}{\sqrt{c+a^2 c x^2}}-\frac{3 i a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x)^2 \text{Li}_2\left (-e^{i \tan ^{-1}(a x)}\right )}{2 \sqrt{c+a^2 c x^2}}-\frac{6 i a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x) \text{Li}_2\left (-i e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}+\frac{6 i a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x) \text{Li}_2\left (i e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}+\frac{3 i a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x)^2 \text{Li}_2\left (e^{i \tan ^{-1}(a x)}\right )}{2 \sqrt{c+a^2 c x^2}}+\frac{3 i a^2 c^2 \sqrt{1+a^2 x^2} \text{Li}_2\left (-\frac{\sqrt{1+i a x}}{\sqrt{1-i a x}}\right )}{\sqrt{c+a^2 c x^2}}-\frac{3 i a^2 c^2 \sqrt{1+a^2 x^2} \text{Li}_2\left (\frac{\sqrt{1+i a x}}{\sqrt{1-i a x}}\right )}{\sqrt{c+a^2 c x^2}}+\frac{3 a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x) \text{Li}_3\left (-e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}+\frac{6 a^2 c^2 \sqrt{1+a^2 x^2} \text{Li}_3\left (-i e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}-\frac{6 a^2 c^2 \sqrt{1+a^2 x^2} \text{Li}_3\left (i e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}-\frac{3 a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x) \text{Li}_3\left (e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}+2 \left (-\frac{2 a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x)^3 \tanh ^{-1}\left (e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}+\frac{3 i a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x)^2 \text{Li}_2\left (-e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}-\frac{3 i a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x)^2 \text{Li}_2\left (e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}-\frac{6 a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x) \text{Li}_3\left (-e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}+\frac{6 a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x) \text{Li}_3\left (e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}-\frac{6 i a^2 c^2 \sqrt{1+a^2 x^2} \text{Li}_4\left (-e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}+\frac{6 i a^2 c^2 \sqrt{1+a^2 x^2} \text{Li}_4\left (e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}\right )+\frac{\left (3 i a^2 c^2 \sqrt{1+a^2 x^2}\right ) \operatorname{Subst}\left (\int \frac{\text{Li}_3(-x)}{x} \, dx,x,e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}-\frac{\left (3 i a^2 c^2 \sqrt{1+a^2 x^2}\right ) \operatorname{Subst}\left (\int \frac{\text{Li}_3(x)}{x} \, dx,x,e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}\\ &=-\frac{3 a c \sqrt{c+a^2 c x^2} \tan ^{-1}(a x)^2}{2 x}+\frac{6 i a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}\left (e^{i \tan ^{-1}(a x)}\right ) \tan ^{-1}(a x)^2}{\sqrt{c+a^2 c x^2}}+a^2 c \sqrt{c+a^2 c x^2} \tan ^{-1}(a x)^3-\frac{c \sqrt{c+a^2 c x^2} \tan ^{-1}(a x)^3}{2 x^2}+\frac{a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x)^3 \tanh ^{-1}\left (e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}-\frac{6 a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x) \tanh ^{-1}\left (\frac{\sqrt{1+i a x}}{\sqrt{1-i a x}}\right )}{\sqrt{c+a^2 c x^2}}-\frac{3 i a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x)^2 \text{Li}_2\left (-e^{i \tan ^{-1}(a x)}\right )}{2 \sqrt{c+a^2 c x^2}}-\frac{6 i a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x) \text{Li}_2\left (-i e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}+\frac{6 i a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x) \text{Li}_2\left (i e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}+\frac{3 i a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x)^2 \text{Li}_2\left (e^{i \tan ^{-1}(a x)}\right )}{2 \sqrt{c+a^2 c x^2}}+\frac{3 i a^2 c^2 \sqrt{1+a^2 x^2} \text{Li}_2\left (-\frac{\sqrt{1+i a x}}{\sqrt{1-i a x}}\right )}{\sqrt{c+a^2 c x^2}}-\frac{3 i a^2 c^2 \sqrt{1+a^2 x^2} \text{Li}_2\left (\frac{\sqrt{1+i a x}}{\sqrt{1-i a x}}\right )}{\sqrt{c+a^2 c x^2}}+\frac{3 a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x) \text{Li}_3\left (-e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}+\frac{6 a^2 c^2 \sqrt{1+a^2 x^2} \text{Li}_3\left (-i e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}-\frac{6 a^2 c^2 \sqrt{1+a^2 x^2} \text{Li}_3\left (i e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}-\frac{3 a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x) \text{Li}_3\left (e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}+\frac{3 i a^2 c^2 \sqrt{1+a^2 x^2} \text{Li}_4\left (-e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}-\frac{3 i a^2 c^2 \sqrt{1+a^2 x^2} \text{Li}_4\left (e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}+2 \left (-\frac{2 a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x)^3 \tanh ^{-1}\left (e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}+\frac{3 i a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x)^2 \text{Li}_2\left (-e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}-\frac{3 i a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x)^2 \text{Li}_2\left (e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}-\frac{6 a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x) \text{Li}_3\left (-e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}+\frac{6 a^2 c^2 \sqrt{1+a^2 x^2} \tan ^{-1}(a x) \text{Li}_3\left (e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}-\frac{6 i a^2 c^2 \sqrt{1+a^2 x^2} \text{Li}_4\left (-e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}+\frac{6 i a^2 c^2 \sqrt{1+a^2 x^2} \text{Li}_4\left (e^{i \tan ^{-1}(a x)}\right )}{\sqrt{c+a^2 c x^2}}\right )\\ \end{align*}

Mathematica [A]  time = 9.57279, size = 691, normalized size = 0.75 \[ \frac{a^2 c \sqrt{a^2 c x^2+c} \tan \left (\frac{1}{2} \tan ^{-1}(a x)\right ) \left (72 i \tan ^{-1}(a x)^2 \cot \left (\frac{1}{2} \tan ^{-1}(a x)\right ) \text{PolyLog}\left (2,e^{-i \tan ^{-1}(a x)}\right )-96 i \tan ^{-1}(a x) \cot \left (\frac{1}{2} \tan ^{-1}(a x)\right ) \text{PolyLog}\left (2,-i e^{i \tan ^{-1}(a x)}\right )+96 i \tan ^{-1}(a x) \cot \left (\frac{1}{2} \tan ^{-1}(a x)\right ) \text{PolyLog}\left (2,i e^{i \tan ^{-1}(a x)}\right )+144 \tan ^{-1}(a x) \cot \left (\frac{1}{2} \tan ^{-1}(a x)\right ) \text{PolyLog}\left (3,e^{-i \tan ^{-1}(a x)}\right )-144 \tan ^{-1}(a x) \cot \left (\frac{1}{2} \tan ^{-1}(a x)\right ) \text{PolyLog}\left (3,-e^{i \tan ^{-1}(a x)}\right )+24 i \left (3 \tan ^{-1}(a x)^2+2\right ) \cot \left (\frac{1}{2} \tan ^{-1}(a x)\right ) \text{PolyLog}\left (2,-e^{i \tan ^{-1}(a x)}\right )-48 i \cot \left (\frac{1}{2} \tan ^{-1}(a x)\right ) \text{PolyLog}\left (2,e^{i \tan ^{-1}(a x)}\right )+96 \cot \left (\frac{1}{2} \tan ^{-1}(a x)\right ) \text{PolyLog}\left (3,-i e^{i \tan ^{-1}(a x)}\right )-96 \cot \left (\frac{1}{2} \tan ^{-1}(a x)\right ) \text{PolyLog}\left (3,i e^{i \tan ^{-1}(a x)}\right )-144 i \cot \left (\frac{1}{2} \tan ^{-1}(a x)\right ) \text{PolyLog}\left (4,e^{-i \tan ^{-1}(a x)}\right )-144 i \cot \left (\frac{1}{2} \tan ^{-1}(a x)\right ) \text{PolyLog}\left (4,-e^{i \tan ^{-1}(a x)}\right )-12 \tan ^{-1}(a x)^2-12 \tan ^{-1}(a x)^2 \cot ^2\left (\frac{1}{2} \tan ^{-1}(a x)\right )+6 i \tan ^{-1}(a x)^4 \cot \left (\frac{1}{2} \tan ^{-1}(a x)\right )-3 i \pi ^4 \cot \left (\frac{1}{2} \tan ^{-1}(a x)\right )+8 a x \tan ^{-1}(a x)^3 \csc ^2\left (\frac{1}{2} \tan ^{-1}(a x)\right )+24 \tan ^{-1}(a x)^3 \log \left (1-e^{-i \tan ^{-1}(a x)}\right ) \cot \left (\frac{1}{2} \tan ^{-1}(a x)\right )-24 \tan ^{-1}(a x)^3 \log \left (1+e^{i \tan ^{-1}(a x)}\right ) \cot \left (\frac{1}{2} \tan ^{-1}(a x)\right )-48 \tan ^{-1}(a x)^2 \log \left (1-i e^{i \tan ^{-1}(a x)}\right ) \cot \left (\frac{1}{2} \tan ^{-1}(a x)\right )+48 \tan ^{-1}(a x)^2 \log \left (1+i e^{i \tan ^{-1}(a x)}\right ) \cot \left (\frac{1}{2} \tan ^{-1}(a x)\right )+48 \tan ^{-1}(a x) \log \left (1-e^{i \tan ^{-1}(a x)}\right ) \cot \left (\frac{1}{2} \tan ^{-1}(a x)\right )-48 \tan ^{-1}(a x) \log \left (1+e^{i \tan ^{-1}(a x)}\right ) \cot \left (\frac{1}{2} \tan ^{-1}(a x)\right )-2 \tan ^{-1}(a x)^3 \cot \left (\frac{1}{2} \tan ^{-1}(a x)\right ) \csc ^2\left (\frac{1}{2} \tan ^{-1}(a x)\right )+2 \tan ^{-1}(a x)^3 \csc \left (\frac{1}{2} \tan ^{-1}(a x)\right ) \sec \left (\frac{1}{2} \tan ^{-1}(a x)\right )\right )}{16 \sqrt{a^2 x^2+1}} \]

Warning: Unable to verify antiderivative.

[In]

Integrate[((c + a^2*c*x^2)^(3/2)*ArcTan[a*x]^3)/x^3,x]

[Out]

(a^2*c*Sqrt[c + a^2*c*x^2]*(-12*ArcTan[a*x]^2 - (3*I)*Pi^4*Cot[ArcTan[a*x]/2] + (6*I)*ArcTan[a*x]^4*Cot[ArcTan
[a*x]/2] - 12*ArcTan[a*x]^2*Cot[ArcTan[a*x]/2]^2 + 8*a*x*ArcTan[a*x]^3*Csc[ArcTan[a*x]/2]^2 - 2*ArcTan[a*x]^3*
Cot[ArcTan[a*x]/2]*Csc[ArcTan[a*x]/2]^2 + 24*ArcTan[a*x]^3*Cot[ArcTan[a*x]/2]*Log[1 - E^((-I)*ArcTan[a*x])] +
48*ArcTan[a*x]*Cot[ArcTan[a*x]/2]*Log[1 - E^(I*ArcTan[a*x])] - 48*ArcTan[a*x]^2*Cot[ArcTan[a*x]/2]*Log[1 - I*E
^(I*ArcTan[a*x])] + 48*ArcTan[a*x]^2*Cot[ArcTan[a*x]/2]*Log[1 + I*E^(I*ArcTan[a*x])] - 48*ArcTan[a*x]*Cot[ArcT
an[a*x]/2]*Log[1 + E^(I*ArcTan[a*x])] - 24*ArcTan[a*x]^3*Cot[ArcTan[a*x]/2]*Log[1 + E^(I*ArcTan[a*x])] + (72*I
)*ArcTan[a*x]^2*Cot[ArcTan[a*x]/2]*PolyLog[2, E^((-I)*ArcTan[a*x])] + (24*I)*(2 + 3*ArcTan[a*x]^2)*Cot[ArcTan[
a*x]/2]*PolyLog[2, -E^(I*ArcTan[a*x])] - (96*I)*ArcTan[a*x]*Cot[ArcTan[a*x]/2]*PolyLog[2, (-I)*E^(I*ArcTan[a*x
])] + (96*I)*ArcTan[a*x]*Cot[ArcTan[a*x]/2]*PolyLog[2, I*E^(I*ArcTan[a*x])] - (48*I)*Cot[ArcTan[a*x]/2]*PolyLo
g[2, E^(I*ArcTan[a*x])] + 144*ArcTan[a*x]*Cot[ArcTan[a*x]/2]*PolyLog[3, E^((-I)*ArcTan[a*x])] - 144*ArcTan[a*x
]*Cot[ArcTan[a*x]/2]*PolyLog[3, -E^(I*ArcTan[a*x])] + 96*Cot[ArcTan[a*x]/2]*PolyLog[3, (-I)*E^(I*ArcTan[a*x])]
 - 96*Cot[ArcTan[a*x]/2]*PolyLog[3, I*E^(I*ArcTan[a*x])] - (144*I)*Cot[ArcTan[a*x]/2]*PolyLog[4, E^((-I)*ArcTa
n[a*x])] - (144*I)*Cot[ArcTan[a*x]/2]*PolyLog[4, -E^(I*ArcTan[a*x])] + 2*ArcTan[a*x]^3*Csc[ArcTan[a*x]/2]*Sec[
ArcTan[a*x]/2])*Tan[ArcTan[a*x]/2])/(16*Sqrt[1 + a^2*x^2])

________________________________________________________________________________________

Maple [A]  time = 1.964, size = 592, normalized size = 0.6 \begin{align*} \text{result too large to display} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a^2*c*x^2+c)^(3/2)*arctan(a*x)^3/x^3,x)

[Out]

1/2*c*(c*(a*x-I)*(a*x+I))^(1/2)*arctan(a*x)^2*(2*arctan(a*x)*a^2*x^2-3*a*x-arctan(a*x))/x^2+3/2*(c*(a*x-I)*(a*
x+I))^(1/2)/(a^2*x^2+1)^(1/2)*(arctan(a*x)^3*ln(1-(1+I*a*x)/(a^2*x^2+1)^(1/2))-arctan(a*x)^3*ln(1+(1+I*a*x)/(a
^2*x^2+1)^(1/2))-6*I*polylog(4,-(1+I*a*x)/(a^2*x^2+1)^(1/2))-3*I*arctan(a*x)^2*polylog(2,(1+I*a*x)/(a^2*x^2+1)
^(1/2))+2*arctan(a*x)^2*ln(1+I*(1+I*a*x)/(a^2*x^2+1)^(1/2))-2*arctan(a*x)^2*ln(1-I*(1+I*a*x)/(a^2*x^2+1)^(1/2)
)+2*I*polylog(2,-(1+I*a*x)/(a^2*x^2+1)^(1/2))-4*I*arctan(a*x)*polylog(2,-I*(1+I*a*x)/(a^2*x^2+1)^(1/2))+2*arct
an(a*x)*ln(1-(1+I*a*x)/(a^2*x^2+1)^(1/2))+6*arctan(a*x)*polylog(3,(1+I*a*x)/(a^2*x^2+1)^(1/2))-2*arctan(a*x)*l
n(1+(1+I*a*x)/(a^2*x^2+1)^(1/2))-6*arctan(a*x)*polylog(3,-(1+I*a*x)/(a^2*x^2+1)^(1/2))+4*I*arctan(a*x)*polylog
(2,I*(1+I*a*x)/(a^2*x^2+1)^(1/2))-2*I*polylog(2,(1+I*a*x)/(a^2*x^2+1)^(1/2))+3*I*arctan(a*x)^2*polylog(2,-(1+I
*a*x)/(a^2*x^2+1)^(1/2))+6*I*polylog(4,(1+I*a*x)/(a^2*x^2+1)^(1/2))+4*polylog(3,-I*(1+I*a*x)/(a^2*x^2+1)^(1/2)
)-4*polylog(3,I*(1+I*a*x)/(a^2*x^2+1)^(1/2)))*a^2*c

________________________________________________________________________________________

Maxima [F(-2)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a^2*c*x^2+c)^(3/2)*arctan(a*x)^3/x^3,x, algorithm="maxima")

[Out]

Exception raised: ValueError

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{{\left (a^{2} c x^{2} + c\right )}^{\frac{3}{2}} \arctan \left (a x\right )^{3}}{x^{3}}, x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a^2*c*x^2+c)^(3/2)*arctan(a*x)^3/x^3,x, algorithm="fricas")

[Out]

integral((a^2*c*x^2 + c)^(3/2)*arctan(a*x)^3/x^3, x)

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (c \left (a^{2} x^{2} + 1\right )\right )^{\frac{3}{2}} \operatorname{atan}^{3}{\left (a x \right )}}{x^{3}}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a**2*c*x**2+c)**(3/2)*atan(a*x)**3/x**3,x)

[Out]

Integral((c*(a**2*x**2 + 1))**(3/2)*atan(a*x)**3/x**3, x)

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (a^{2} c x^{2} + c\right )}^{\frac{3}{2}} \arctan \left (a x\right )^{3}}{x^{3}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a^2*c*x^2+c)^(3/2)*arctan(a*x)^3/x^3,x, algorithm="giac")

[Out]

integrate((a^2*c*x^2 + c)^(3/2)*arctan(a*x)^3/x^3, x)